$(function() {
	$("table th").css("color","red");
	$("table td").css("color", "green");
	$("table tr").click(function(){
		var t=$(this);
		t.css("background", "aqua");
		var anchorTag = t.find("a");// find() finds the 'a's inside t. t is the clicked row.
		//anchorTag.css("background", "yellow");
		var href=anchorTag.attr("href");
		//alert(href);
		document.location=href;
	});
});